

package com.hazelcast.config;

import com.hazelcast.memory.Capacity;

/**
 * Device configuration for the Tiered-Store
 *
 * @since 5.1
 */
public interface DeviceConfig extends NamedConfig {
    /**
     * Returns {@code true} if the device configuration is for a local device,
     * otherwise, returns {@code false} if this configuration is for a remote device.
     */
    boolean isLocal();

    /**
     * Returns the device capacity.
     */
    Capacity getCapacity();
}
